﻿using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using ST.Common.Util.Model;

namespace ST.Buz.Web.Controllers
{
	[Route("")]
	[ValidateSession]
	public class HomeController : MyBaseController
	{
		public HomeController(ILogger<HomeController> _logger)
			: base(_logger)
		{
		}

		public IActionResult Index()
		{
			ViewBag.ServiceCode = "523F6C4581";
			return View();
		}

		[Route("home")]
		public IActionResult MobileIndex()
		{
			ViewBag.ServiceCode = "523F6C4581";
			return View();
		}

		[Route("my")]
		public IActionResult MobileMy()
		{
			UserSession sessionCurrent = GetSessionFromRequest();

			return View();
		}
	}
}